package com.ktkj.init.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ktkj.init.dto.SysJobCondition;
import com.ktkj.init.dto.SysJobForm;
import com.ktkj.init.dto.SysJobUpdateStatusForm;
import com.ktkj.init.entity.SysJob;
import com.ktkj.init.vo.QueryResult;

import java.util.List;

/**
 * <p>
 * 定时任务调度表 服务类
 * </p>
 *
 * @author ktkj
 * @since 2022-07-15
 */
public interface SysJobService extends IService<SysJob> {

    QueryResult<SysJob> page(SysJobCondition condition);

    SysJob saveOrUpdate(SysJobForm form);

    void batchDelete(List<Long> idList);

    SysJob updateStatus(SysJobUpdateStatusForm form);
}
